#pragma once

class NMEnemyBullet : public CCSprite
{
	int power_;
	float speed_;
	bool destroied_;

	void _trueDestroy();

public:
	NMEnemyBullet(CCSpriteBatchNode* batch);
	~NMEnemyBullet(void);

	bool isDestroied() { return destroied_; }
	bool isCollision() { return getPosition().y <= 80; }

	void update(ccTime dt);
	void destroy();

	void setPos(float x, float y);
	void setSpeed(float x, float y);

	int getPower() { return power_; }
};
